import unittest
from scripts.test01_login import TestLogin
import time
from tools.HTMLTestRunner import HTMLTestRunner



suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestLogin))


repost = "./report/report-{}.html".format(time.strftime("%Y%m%d-%H%M%S"))


with open(repost,"wb") as f:
    runner = HTMLTestRunner(f,title="API Report")
    runner.run(suite)